package lvbu.wang.lvbuoperator.bean;

import java.io.Serializable;

/**
 * Created by DaiQing.Zha on 2016/6/11 0011.
 * Email:1642674371@qq.com
 * Description:
 */
public class MotorInfo implements Serializable{

    private long motorId;                   // 电机流水号
    private String imei;                   // imei:15位
    private String motorName;             // 车辆名称：用于显示在手机或网页上
    private int powerLevel;              // 助力等级
    private Float circumference;        // 电机轮周长(单位：米)
    private int autolockTimespan;      // 电机自动锁定时间(单位：分钟)
    private boolean lockStatus;       // 电机锁定状态：0未锁定，1锁定
    private int speedLimitValue;     // 超速报警值(单位：KM/小时)
    private String bluetoothAddress;// 电机蓝牙地址
    private Float bikeWeight;      // 车重(单位：kg)
    private Float loadWeight;               // 载重（骑行人员的重量，包括行李等）(单位：kg)
    private boolean isOnline;              // 是否在线：离线和在线是更改此字段
    private String hardwareVersion;       // 硬件版本号
    private String firmwareVersion;      // 固件版本号
    public String bindDate;             //绑定日期
    public String typeName;            //类型名称
    public String statusCode;         //状态代码
    public String assistantMode;    //助力模式
    private String iccid;// iccid
    private String phoneNumber;

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public boolean isLockStatus() {
        return lockStatus;
    }

    public boolean isOnline() {
        return isOnline;
    }

    public void setOnline(boolean online) {
        isOnline = online;
    }

    public String getIccid() {
        return iccid;
    }

    public void setIccid(String iccid) {
        this.iccid = iccid;
    }

    public String getAssistantMode() {
        return assistantMode;
    }

    public void setAssistantMode(String assistantMode) {
        this.assistantMode = assistantMode;
    }


    public long getMotorId() {
        return motorId;
    }

    public void setMotorId(long motorId) {
        this.motorId = motorId;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public String getMotorName() {
        return motorName;
    }

    public void setMotorName(String motorName) {
        this.motorName = motorName;
    }

    public int getPowerLevel() {
        return powerLevel;
    }

    public void setPowerLevel(int powerLevel) {
        this.powerLevel = powerLevel;
    }

    public Float getCircumference() {
        return circumference;
    }

    public void setCircumference(Float circumference) {
        this.circumference = circumference;
    }

    public int getAutolockTimespan() {
        return autolockTimespan;
    }

    public void setAutolockTimespan(int autolockTimespan) {
        this.autolockTimespan = autolockTimespan;
    }

    public boolean getLockStatus() {
        return lockStatus;
    }

    public void setLockStatus(boolean lockStatus) {
        this.lockStatus = lockStatus;
    }

    public int getSpeedLimitValue() {
        return speedLimitValue;
    }

    public void setSpeedLimitValue(int speedLimitValue) {
        this.speedLimitValue = speedLimitValue;
    }

    public String getBluetoothAddress() {
        return bluetoothAddress;
    }

    public void setBluetoothAddress(String bluetoothAddress) {
        this.bluetoothAddress = bluetoothAddress;
    }

    public Float getBikeWeight() {
        return bikeWeight;
    }

    public void setBikeWeight(Float bikeWeight) {
        this.bikeWeight = bikeWeight;
    }

    public Float getLoadWeight() {
        return loadWeight;
    }

    public void setLoadWeight(Float loadWeight) {
        this.loadWeight = loadWeight;
    }

    public boolean getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(boolean isOnline) {
        this.isOnline = isOnline;
    }

    public String getHardwareVersion() {
        return hardwareVersion;
    }

    public void setHardwareVersion(String hardwareVersion) {
        this.hardwareVersion = hardwareVersion;
    }

    public String getFirmwareVersion() {
        return firmwareVersion;
    }

    public void setFirmwareVersion(String firmwareVersion) {
        this.firmwareVersion = firmwareVersion;
    }

    public String getBindDate() {
        return bindDate;
    }

    public void setBindDate(String bindDate) {
        this.bindDate = bindDate;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    @Override
    public String toString() {
        return "MotorInfo{" +
                "motorId=" + motorId +
                ", imei='" + imei + '\'' +
                ", motorName='" + motorName + '\'' +
                ", powerLevel=" + powerLevel +
                ", circumference=" + circumference +
                ", autolockTimespan=" + autolockTimespan +
                ", lockStatus=" + lockStatus +
                ", speedLimitValue=" + speedLimitValue +
                ", bluetoothAddress='" + bluetoothAddress + '\'' +
                ", bikeWeight=" + bikeWeight +
                ", loadWeight=" + loadWeight +
                ", isOnline=" + isOnline +
                ", hardwareVersion='" + hardwareVersion + '\'' +
                ", firmwareVersion='" + firmwareVersion + '\'' +
                ", bindDate='" + bindDate + '\'' +
                ", typeName='" + typeName + '\'' +
                ", statusCode='" + statusCode + '\'' +
                ", assistantMode='" + assistantMode + '\'' +
                ", iccid='" + iccid + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                '}';
    }
}
